package com.zx.service.comment.Impl;

import com.zx.dao.comment.CommentMapper;
import com.zx.dto.request.goods.GoodsRequestDto;
import com.zx.dto.response.comment.CommentDao;
import com.zx.service.comment.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author sunkai
 * @date 2022/8/2 0002 22:04
 * @mood zhou xun
 */
@Service
public class CommentServiceImpl implements CommentService {
    @Autowired
    private CommentMapper commentMapper;
    @Override
    public List<CommentDao> queryComment(GoodsRequestDto goodsRequestDto) {
        return commentMapper.queryComment(goodsRequestDto);
    }
}
